package com.flycat.common.enumeration;

/**
 * Created by linkun on 2017/9/3.
 */
public enum  OrderStatusEnum {

    INIT((byte)0,"创建"),
    PAIED((byte)1,"支付完成"),
    ACCEPT((byte)2,"订单受理"),
    COMPLETE((byte)3,"订单完成"),
    ;

    private byte code;

    private String msg;

    OrderStatusEnum(byte code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public byte getCode() {
        return code;
    }

    public void setCode(byte code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
